import request from "@/utils/request";

// 帮助与反馈
export function fetchList(params) {
  return request({
    url: "/helpers/index",
    method: "get",
    params
  });
}

export function getInfo(params) {
  return request({
    url: "/helpers/read",
    method: "get",
    params
  });
}

export function add(data) {
  return request({
    url: "/helpers/save",
    method: "post",
    data
  });
}

export function update(data) {
  return request({
    url: "/helpers/update",
    method: "post",
    data
  });
}

export function remove(data) {
  return request({
    url: "/helpers/delete",
    method: "post",
    data
  });
}
